package com.lyt.springboot.designPattern.templatePattern;

public class AlipayPayment extends Payment{
    @Override
    protected void validatePaymentInfo() {
        System.out.println("Validating Alipay info...");
    }

    @Override
    protected void executePayment() {
        System.out.println("Executing Alipay payment...");
    }
}